package com.itheima.pojo;

import java.io.Serializable;

public class Food implements Serializable {
    private Integer id;
    private String code;
    private String name;
    private String kj;
    private String total;
    private String effect;
    private String description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKj() {
        return kj;
    }

    public void setKj(String kj) {
        this.kj = kj;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getEffect() {
        return effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Food(Integer id, String code, String name, String kj, String total, String effect, String description) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.kj = kj;
        this.total = total;
        this.effect = effect;
        this.description = description;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", kj='" + kj + '\'' +
                ", total='" + total + '\'' +
                ", effect='" + effect + '\'' +
                ", description='" + description + '\'' +
                '}';
    }

    public Food() {
    }
}

